package com.looso.sfolder.security;

import android.content.Context;
import android.telephony.TelephonyManager;

import com.looso.sfolder.ui.MyApplication;

public class DeviceUtils {
	public static String getIMEI(){
		TelephonyManager tm = (TelephonyManager) MyApplication.getInstance().getSystemService(Context.TELEPHONY_SERVICE);
		return tm.getDeviceId();
	}
	public static String getIMSI(){
		TelephonyManager tm = (TelephonyManager) MyApplication.getInstance().getSystemService(Context.TELEPHONY_SERVICE);
		return tm.getSubscriberId();
	}
}
